package org.demo.xml.bean;

import javax.xml.bind.annotation.XmlAttribute;

/**
 * 
 * @author  
 * @date    2010-12-20
 * @file    org.demo.xml.bean.DetailInfoBean.java
 */
public class DetailInfoBean {
	
	private String name;
	
	private String value;

	public DetailInfoBean(){
		
	}
	
	public DetailInfoBean(String name, String value) {
		super();
		this.name = name;
		this.value = value;
	}

	/**
	 * @return the name
	 */
	@XmlAttribute
	public String getName() {
		return name;
	}

	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the value
	 */
	@XmlAttribute
	public String getValue() {
		return value;
	}

	/**
	 * @param value the value to set
	 */
	public void setValue(String value) {
		this.value = value;
	}
}
